package com.dormitory.management.system.common.res;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("用户信息返回实体类")
public class UserInfoRes {
    @ApiModelProperty("头像地址")
//    private String avatar;
    private String avatar = "https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif";

    @ApiModelProperty("个人介绍")
    private String introduction;
//    private String introduction = "I am a super administrator";
    @ApiModelProperty("账号")
    private String username;
    //    private String name = "DXC第二组成员";
    @ApiModelProperty("名字")
    private String name;
//    private String name = "DXC第二组成员";

    @ApiModelProperty("角色权限")
    private List<String> roles;
//    private List<String> roles = Collections.singletonList("admin");

}